<?php
use Base\AdminController;
use JetBrains\PhpStorm\NoReturn;

class LoginLogController extends AdminController
{
    protected string $table = 'login_logs';

    protected string $model = "loginLog";

    #[NoReturn] public function init(): void
    {
        if (Request::input("title")) {
            $this->where[] = ['username','like', '%'.Request::input("title").'%'];
        }
        parent::init();
    }
}
